<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href ='/Web/02CSS/B01score.css'>
<script src = '/Web/03JavaScript/B01score.js'></script>
<style>
.lbl{
	display : inline-block;
	width : 100px;
	text-align : right;
	marigin : 3px;
	}
.lbl2{
	margin-left : 5px;
	margin-bottom: 3px;
	}
</style>
</head>
<body>
<jsp:useBean id="vo" class="bean.B01scoreVO" scope="page"/>
<jsp:setProperty property="*" name="vo"/> <!--반드시 submit으로 날려야 한다.  -->
<form name="hiddenFrm" method="post">
		<input type='hidden' name='rno' value="<%=vo.getRno() %>"/>
		<input type="hidden" name="nowPage"	value="<%=vo.getNowPage()%>"/> <!-- 값이 input_result로 넘어간다  -->
		<input type="hidden" name='find' value='<%=vo.getFind()%>'/>
		
</form>

<h1> 성적입력 </h1>
<hr>

<form action="index.jsp?inc=/04JSP/01Score/input_result.jsp" name="scoreFrm" method="post">
	<label class="lbl">아이디</label><input type="text" size="5" name='mid' class="lbl2"><br/>
	<label class = 'lbl'>학년 </label><select name="grade" size='1' class="lbl2">
		<option value='선택안함'>메롱</option>
		<option value='1'>10학년</option>
		<option value='2'>20학년</option>
		<option value='3'>30학년</option>
		<option value='4444'>40학년</option>
	</select><br/>
	<label class = 'lbl'>성적</label><input type="text" size="3" name="point" class="lbl2">점<br/>
	<label class = 'lbl'>과목코드</label><select name="scode" size='1'class="lbl2" >
		<option value='선택안함'>선택안함</option>
		<option value='kor'>국어</option>
		<option value='math'>수학</option>
		<option value='eng'>영어</option>
		<option value='sci'>과학</option>
		<option value='social'>사회</option>
	</select><br/>
	<label class = 'lbl'>시험날짜</label><input type="date" size="5"name="examdate" class="lbl2"><br/>
	<label class = 'lbl'>시험명</label><select name="exam" size='1' class="lbl2">
		<option>선택안함</option>
		<option value='1학기 중간고사'>1학기 중간고사</option>
		<option value='1학기 기말고사'>1학기 기말고사</option>
		<option value='2학기 중간고사'>2학기 중간고사</option>
		<option value='2학기 기말고사'>2학기 기말고사</option>
		<option value='졸업시험'>졸업시험</option>
	</select><br/>
	<label class = 'lbl'>석차</label><input type="text" size="3"name="rank" class="lbl2"><br/>
	<hr>
	<input type="button" id="btnSave" value="입력완료"/>
	<input type="button" id="btnList" value="성적목록"/>
</form>
</body>
<script>inputInit();</script>
</html>